package cn.iocoder.springboot.lab03.kafkademo.service;

import org.springframework.context.ApplicationEvent;

/**
 * @Author：YH
 * @Description：
 * @Date:Created in 2023/9/30 0:17
 */
public class CustomEvent extends ApplicationEvent {
    private String message;
    
    public CustomEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
